package cn.wolfcode.crm.query;

import com.alibaba.druid.util.StringUtils;
import lombok.Getter;
import lombok.Setter;

/**
 * Created by 30821 on 2018/7/11.
 */
@Getter@Setter
public class EmployeeQueryObject extends QueryObject{
    private String sort;
    private String order;
    private String keyword;
    private String deptName;

    public String getKeyword(){
        return StringUtils.isEmpty(keyword)?null:keyword;
    }
    public String getSort(){
        return StringUtils.isEmpty(sort)?null:sort;
    }
    public String getOrder(){
        return StringUtils.isEmpty(order)?null:order;
    }
    public String getDeptName(){ return StringUtils.isEmpty(deptName)?null:deptName;}
}
